package net.cyndeline.GUI.setup

/**
 * References a type of animation using a key with an id, allowing the animation to be stored in collections with
 * constant retrieval performance based on an index that equals the id.
 */
sealed trait AnimationType {
  def id: Int
}

case object Idle extends AnimationType {
  def id: Int = 0
}

case object Movement extends AnimationType {
  def id: Int = 1
}
